<template>
  <view class="from-title fz-18 py-12 disFlxJS">
    <view class="disFlxAC">
      <text>{{ title }}</text>
    </view>
    <view>
      <slot />
    </view>
  </view>
</template>

<script setup lang="ts">
  import { propTypes } from '@/utils/propTypes';
  defineProps({
    title: propTypes.string.def(''),
  });
</script>

<style lang="scss" scoped>
  .from-title {
    color: #2878FF;
  }
</style>
